package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 门卡配置对象 per_access_control_cards
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerAccessControlCards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 卡片信息记录的唯一标识 */
    private Long cardId;

    /** 门禁卡号 */
    @Excel(name = "门禁卡号")
    private String accessCardNumber;

    /** 门禁是否连接 */
    @Excel(name = "门禁是否连接")
    private String isAccessConnected;

    /** 出勤机卡号 */
    @Excel(name = "出勤机卡号")
    private String attendanceCardNumber;

    /** 出勤机是否连接 */
    @Excel(name = "出勤机是否连接")
    private String isAttendanceConnected;

    /** 特殊通道卡号 */
    @Excel(name = "特殊通道卡号")
    private String specialChannelCardNumber;

    /** 员工通道是否连接 */
    @Excel(name = "员工通道是否连接")
    private String isChannelConnected;

    /** 首次绑卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首次绑卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date firstBindTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setAccessCardNumber(String accessCardNumber) 
    {
        this.accessCardNumber = accessCardNumber;
    }

    public String getAccessCardNumber() 
    {
        return accessCardNumber;
    }
    public void setIsAccessConnected(String isAccessConnected) 
    {
        this.isAccessConnected = isAccessConnected;
    }

    public String getIsAccessConnected() 
    {
        return isAccessConnected;
    }
    public void setAttendanceCardNumber(String attendanceCardNumber) 
    {
        this.attendanceCardNumber = attendanceCardNumber;
    }

    public String getAttendanceCardNumber() 
    {
        return attendanceCardNumber;
    }
    public void setIsAttendanceConnected(String isAttendanceConnected) 
    {
        this.isAttendanceConnected = isAttendanceConnected;
    }

    public String getIsAttendanceConnected() 
    {
        return isAttendanceConnected;
    }
    public void setSpecialChannelCardNumber(String specialChannelCardNumber) 
    {
        this.specialChannelCardNumber = specialChannelCardNumber;
    }

    public String getSpecialChannelCardNumber() 
    {
        return specialChannelCardNumber;
    }
    public void setIsChannelConnected(String isChannelConnected) 
    {
        this.isChannelConnected = isChannelConnected;
    }

    public String getIsChannelConnected() 
    {
        return isChannelConnected;
    }
    public void setFirstBindTime(Date firstBindTime) 
    {
        this.firstBindTime = firstBindTime;
    }

    public Date getFirstBindTime() 
    {
        return firstBindTime;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("accessCardNumber", getAccessCardNumber())
            .append("isAccessConnected", getIsAccessConnected())
            .append("attendanceCardNumber", getAttendanceCardNumber())
            .append("isAttendanceConnected", getIsAttendanceConnected())
            .append("specialChannelCardNumber", getSpecialChannelCardNumber())
            .append("isChannelConnected", getIsChannelConnected())
            .append("firstBindTime", getFirstBindTime())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
